<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>Index - Bonfire</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="IndexPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.5 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Index><div class=IPageTitle>Index</div><div class=INavigationBar><a href="General.html#Symbols">$#!</a> &middot; 0-9 &middot; <a href="General.html#A">A</a> &middot; <a href="General.html#B">B</a> &middot; <a href="#C">C</a> &middot; <a href="General3.html#D">D</a> &middot; <a href="General3.html#E">E</a> &middot; <a href="General3.html#F">F</a> &middot; <a href="General4.html#G">G</a> &middot; <a href="General4.html#H">H</a> &middot; <a href="General4.html#I">I</a> &middot; <a href="General4.html#J">J</a> &middot; <a href="General4.html#K">K</a> &middot; <a href="General4.html#L">L</a> &middot; <a href="General5.html#M">M</a> &middot; <a href="General5.html#N">N</a> &middot; <a href="General5.html#O">O</a> &middot; <a href="General5.html#P">P</a> &middot; <a href="General5.html#Q">Q</a> &middot; <a href="General5.html#R">R</a> &middot; <a href="General6.html#S">S</a> &middot; <a href="General6.html#T">T</a> &middot; <a href="General7.html#U">U</a> &middot; <a href="General7.html#V">V</a> &middot; <a href="General7.html#W">W</a> &middot; X &middot; <a href="General7.html#Y">Y</a> &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="C"></a>C</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/roles/models/role_model-php.html#Role_model.can_delete_role" id=link68 onMouseOver="ShowTip(event, 'tt63', 'link68')" onMouseOut="HideTip('tt63')" class=ISymbol>can_delete_role</a>, <span class=IParent>Role_model</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/designers/views-txt.html#Cascade_Order" id=link69 onMouseOver="ShowTip(event, 'tt64', 'link69')" onMouseOut="HideTip('tt64')" class=ISymbol>Cascade Order</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/core_modules/logs-txt.html#Change_the_Log_Depth" id=link70 onMouseOver="ShowTip(event, 'tt65', 'link70')" onMouseOut="HideTip('tt65')" class=ISymbol>Change the Log Depth</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/basic_info/changelog-txt.html#Changelog" id=link71 onMouseOver="ShowTip(event, 'tt66', 'link71')" onMouseOut="HideTip('tt66')" class=ISymbol>Changelog</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/general_topics/site_areas-txt.html#Changing_Your_App's_Site_Area" id=link72 onMouseOver="ShowTip(event, 'tt67', 'link72')" onMouseOut="HideTip('tt67')" class=ISymbol>Changing Your App&rsquo;s Site Area</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>check_class</span><div class=ISubIndex><a href="../files2/designers/utilities-txt.html#check_class" id=link73 onMouseOver="ShowTip(event, 'tt68', 'link73')" onMouseOut="HideTip('tt68')" class=IParent>Global</a><a href="../files/libraries/template-php.html#Template.check_class" id=link74 onMouseOver="ShowTip(event, 'tt69', 'link74')" onMouseOut="HideTip('tt69')" class=IParent>Template</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>check_method</span><div class=ISubIndex><a href="../files2/designers/utilities-txt.html#check_method" id=link75 onMouseOver="ShowTip(event, 'tt70', 'link75')" onMouseOut="HideTip('tt70')" class=IParent>Global</a><a href="../files/libraries/template-php.html#Template.check_method" id=link76 onMouseOver="ShowTip(event, 'tt71', 'link76')" onMouseOut="HideTip('tt71')" class=IParent>Template</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/designers/views-txt.html#Choosing_A_Theme" id=link77 onMouseOver="ShowTip(event, 'tt72', 'link77')" onMouseOut="HideTip('tt72')" class=ISymbol>Choosing A Theme</a></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><span class=ISymbol>ci</span><div class=ISubIndex><a href="../files/libraries/assets-php.html#Assets_Class.$ci" id=link78 onMouseOver="ShowTip(event, 'tt73', 'link78')" onMouseOut="HideTip('tt73')" class=IParent>Assets Class</a><a href="../files/core_modules/users/libraries/auth-php.html#Auth.$ci" id=link79 onMouseOver="ShowTip(event, 'tt74', 'link79')" onMouseOut="HideTip('tt74')" class=IParent>Auth</a><a href="../files/libraries/Console-php.html#Console.$ci" id=link80 onMouseOver="ShowTip(event, 'tt75', 'link80')" onMouseOut="HideTip('tt75')" class=IParent>Console</a><a href="../files/core_modules/emailer/libraries/emailer-php.html#Emailer.$ci" id=link81 onMouseOver="ShowTip(event, 'tt76', 'link81')" onMouseOut="HideTip('tt76')" class=IParent>Emailer</a><a href="../files/libraries/template-php.html#Template.$ci" id=link82 onMouseOver="ShowTip(event, 'tt77', 'link82')" onMouseOut="HideTip('tt77')" class=IParent>Template</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/assets-php.html#Assets_Class.clear_cache" id=link83 onMouseOver="ShowTip(event, 'tt78', 'link83')" onMouseOut="HideTip('tt78')" class=ISymbol>clear_cache</a>, <span class=IParent>Assets Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.clear_login_attempts" id=link84 onMouseOver="ShowTip(event, 'tt79', 'link84')" onMouseOut="HideTip('tt79')" class=ISymbol>clear_login_attempts</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/assets-php.html#Assets_Class.combine_css" id=link85 onMouseOver="ShowTip(event, 'tt80', 'link85')" onMouseOut="HideTip('tt80')" class=ISymbol>combine_css</a>, <span class=IParent>Assets Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/assets-php.html#Assets_Class.combine_js" id=link86 onMouseOver="ShowTip(event, 'tt81', 'link86')" onMouseOut="HideTip('tt81')" class=ISymbol>combine_js</a>, <span class=IParent>Assets Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/general_topics/controllers-txt.html#Conclusion" id=link87 onMouseOver="ShowTip(event, 'tt82', 'link87')" onMouseOut="HideTip('tt82')" class=ISymbol>Conclusion</a></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/core_modules/emailer/libraries/emailer-php.html#Emailer.$config" id=link88 onMouseOver="ShowTip(event, 'tt83', 'link88')" onMouseOut="HideTip('tt83')" class=ISymbol>config</a>, <span class=IParent>Emailer</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/helpers/config_file_helper-php.html#Config_File_Helper" id=link89 onMouseOver="ShowTip(event, 'tt84', 'link89')" onMouseOut="HideTip('tt84')" class=ISymbol>Config File Helper</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/Console-php.html#Console" id=link90 onMouseOver="ShowTip(event, 'tt85', 'link90')" onMouseOut="HideTip('tt85')" class=ISymbol>Console</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/helpers/application_helper-php.html#context_nav" id=link91 onMouseOver="ShowTip(event, 'tt86', 'link91')" onMouseOut="HideTip('tt86')" class=ISymbol>context_nav</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>Contexts</span><div class=ISubIndex><a href="../files2/general_topics/module_overview-txt.html#Contexts" id=link92 onMouseOver="ShowTip(event, 'tt87', 'link92')" onMouseOut="HideTip('tt87')" class=IFile>general_topics/<wbr>module_overview.txt</a><a href="../files2/introduction/concepts-txt.html#Contexts" id=link93 onMouseOver="ShowTip(event, 'tt87', 'link93')" onMouseOut="HideTip('tt87')" class=IFile>introduction/<wbr>concepts.txt</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/general_topics/contexts-txt.html#Contexts_in_Your_Modules" id=link94 onMouseOver="ShowTip(event, 'tt88', 'link94')" onMouseOut="HideTip('tt88')" class=ISymbol>Contexts in Your Modules</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/general_topics/contexts-txt.html#Contexts_Overview" id=link95 onMouseOver="ShowTip(event, 'tt89', 'link95')" onMouseOut="HideTip('tt89')" class=ISymbol>Contexts Overview</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/modulebuilder/views/files/controller-php.html#controller.php"  class=ISymbol>controller.php</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>count_all</span><div class=ISubIndex><a href="../files/core/MY_Model-php.html#BF_Model.count_all" id=link96 onMouseOver="ShowTip(event, 'tt90', 'link96')" onMouseOut="HideTip('tt90')" class=IParent>BF_Model</a><a href="../files/core_modules/users/models/user_model-php.html#User_model.count_all" id=link97 onMouseOver="ShowTip(event, 'tt91', 'link97')" onMouseOut="HideTip('tt91')" class=IParent>User_model</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/MY_Model-php.html#BF_Model.count_by" id=link98 onMouseOver="ShowTip(event, 'tt92', 'link98')" onMouseOut="HideTip('tt92')" class=ISymbol>count_by</a>, <span class=IParent>BF_Model</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/models/user_model-php.html#User_model.count_by_roles" id=link99 onMouseOver="ShowTip(event, 'tt93', 'link99')" onMouseOut="HideTip('tt93')" class=ISymbol>count_by_roles</a>, <span class=IParent>User_model</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/helpers/address_helper-php.html#country_select" id=link100 onMouseOver="ShowTip(event, 'tt94', 'link100')" onMouseOut="HideTip('tt94')" class=ISymbol>country_select</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>create</span><div class=ISubIndex><span class=IParent>Global</span><div class=ISubIndex><a href="../files/core_modules/modulebuilder/controllers/developer-php.html#create" id=link101 onMouseOver="ShowTip(event, 'tt95', 'link101')" onMouseOut="HideTip('tt95')" class=IFile>core_modules/<wbr>modulebuilder/<wbr>controllers/<wbr>developer.php</a><a href="../files/core_modules/modulebuilder/views/files/controller-php.html#create" id=link102 onMouseOver="ShowTip(event, 'tt95', 'link102')" onMouseOut="HideTip('tt95')" class=IFile>core_modules/<wbr>modulebuilder/<wbr>views/<wbr>files/<wbr>controller.php</a></div><a href="../files/core_modules/roles/models/role_permission_model-php.html#Role_permission_model.create" id=link103 onMouseOver="ShowTip(event, 'tt96', 'link103')" onMouseOut="HideTip('tt96')" class=IParent>Role_permission_model</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.create_autologin" id=link104 onMouseOver="ShowTip(event, 'tt97', 'link104')" onMouseOut="HideTip('tt97')" class=ISymbol>create_autologin</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/roles/models/role_permission_model-php.html#Role_permission_model.create_role_permissions" id=link105 onMouseOver="ShowTip(event, 'tt98', 'link105')" onMouseOut="HideTip('tt98')" class=ISymbol>create_role_permissions</a>, <span class=IParent>Role_permission_model</span></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/core/MY_Model-php.html#BF_Model.$created_field" id=link106 onMouseOver="ShowTip(event, 'tt99', 'link106')" onMouseOut="HideTip('tt99')" class=ISymbol>created_field</a>, <span class=IParent>BF_Model</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/core_modules/migrations-txt.html#Creating_a_Migration_File" id=link107 onMouseOver="ShowTip(event, 'tt100', 'link107')" onMouseOut="HideTip('tt100')" class=ISymbol>Creating a Migration File</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/core_modules/tester-txt.html#Creating_a_Test" id=link108 onMouseOver="ShowTip(event, 'tt101', 'link108')" onMouseOut="HideTip('tt101')" class=ISymbol>Creating a Test</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/general_topics/module_overview-txt.html#Creating_New_Modules"  class=ISymbol>Creating New Modules</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/core_modules/roles-txt.html#Creating_New_Roles" id=link109 onMouseOver="ShowTip(event, 'tt102', 'link109')" onMouseOut="HideTip('tt102')" class=ISymbol>Creating New Roles</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/core_modules/permissions-txt.html#Creating_Permissions" id=link110 onMouseOver="ShowTip(event, 'tt103', 'link110')" onMouseOut="HideTip('tt103')" class=ISymbol>Creating Permissions</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/general_topics/unit_testing-txt.html#Creating_Tests" id=link111 onMouseOver="ShowTip(event, 'tt104', 'link111')" onMouseOut="HideTip('tt104')" class=ISymbol>Creating Tests</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/general_topics/event_hooks-txt.html#Creating_Your_Own_Events" id=link112 onMouseOver="ShowTip(event, 'tt105', 'link112')" onMouseOut="HideTip('tt105')" class=ISymbol>Creating Your Own Events</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/basic_info/credits-txt.html#Credits" id=link113 onMouseOver="ShowTip(event, 'tt106', 'link113')" onMouseOut="HideTip('tt106')" class=ISymbol>Credits</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/assets-php.html#Assets_Class.css" id=link114 onMouseOver="ShowTip(event, 'tt107', 'link114')" onMouseOut="HideTip('tt107')" class=ISymbol>css</a>, <span class=IParent>Assets Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/install/controllers/install-php.html#Install.cURL_check" id=link115 onMouseOver="ShowTip(event, 'tt108', 'link115')" onMouseOut="HideTip('tt108')" class=ISymbol>cURL_check</a>, <span class=IParent>Install</span></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/core_modules/install/controllers/install-php.html#Install.$curl_error" id=link116 onMouseOver="ShowTip(event, 'tt109', 'link116')" onMouseOut="HideTip('tt109')" class=ISymbol>curl_error</a>, <span class=IParent>Install</span></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/core_modules/install/controllers/install-php.html#Install.$curl_update" id=link117 onMouseOver="ShowTip(event, 'tt110', 'link117')" onMouseOut="HideTip('tt110')" class=ISymbol>curl_update</a>, <span class=IParent>Install</span></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/libraries/template-php.html#Template.$current_view" id=link118 onMouseOver="ShowTip(event, 'tt111', 'link118')" onMouseOut="HideTip('tt111')" class=ISymbol>current_view</a>, <span class=IParent>Template</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/general_topics/contexts-txt.html#Custom_Contexts" id=link119 onMouseOver="ShowTip(event, 'tt112', 'link119')" onMouseOut="HideTip('tt112')" class=ISymbol>Custom Contexts</a></td></tr></table>
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt63"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function can_delete_role(</td><td class=PParameter nowrap>$role_id</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Verifies that a role can be deleted.</div></div><div class=CToolTip id="tt64"><div class=CGeneric>Here&rsquo;s a quick reference for how theme layouts are searched for and found.</div></div><div class=CToolTip id="tt65"><div class=CGeneric>By default, Bonfire has the logging turned off in the <u>application/config/config.php</u> file. </div></div><div class=CToolTip id="tt66"><div class=CGeneric>Version 0.3-RC1 (Unreleased)</div></div><div class=CToolTip id="tt67"><div class=CGeneric>Changing the site area for you app is as easy as changing a single constant.</div></div><div class=CToolTip id="tt68"><div class=CGeneric>The <u>check class()</u> function is meant to be used within your primary navigation, and performs a very simple check to see if the first parameter matches the name of the controller that is currently running. </div></div><div class=CToolTip id="tt69"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function check_class(</td><td class=PParameter nowrap>$item</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>A simple helper method for checking menu items against the current class that is running.</div></div><div class=CToolTip id="tt70"><div class=CGeneric>The <u>check method()</u> function is identical to the <u>check class()</u> function, above, except that it is meant for sub-navigation based on the method currently being executed (according to the router).</div></div><div class=CToolTip id="tt71"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function check_method(</td><td class=PParameter nowrap>$item</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>A simple helper method for checking menu items against the current class&rsquo; method that is being executed (as far as the Router knows.)</div></div><div class=CToolTip id="tt72"><div class=CGeneric>If you need to specify which theme to use, you can set the active_theme with the <u>set theme()</u> method.</div></div><div class=CToolTip id="tt73"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>protected static $ci</td></tr></table></blockquote>An instance of the CI app</div></div><div class=CToolTip id="tt74"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $ci</td></tr></table></blockquote>A pointer to the CodeIgniter instance.</div></div><div class=CToolTip id="tt75"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private static $ci</td></tr></table></blockquote>An instance of the CI super object.</div></div><div class=CToolTip id="tt76"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $ci</td></tr></table></blockquote>A pointer to the CodeIgniter instance.</div></div><div class=CToolTip id="tt77"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private static $ci</td></tr></table></blockquote>An instance of the CI super object.</div></div><div class=CToolTip id="tt78"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function clear_cache()</td></tr></table></blockquote>Deletes all asset cache files from the assets/cache folder.</div></div><div class=CToolTip id="tt79"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>protected function clear_login_attempts(</td><td class=PParameter nowrap>$login</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$expires</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> 86400</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Clears all login attempts for this user, as well as cleans out old logins.</div></div><div class=CToolTip id="tt80"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function combine_css(</td><td class=PParameter nowrap>$files</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>array(),</td></tr><tr><td></td><td class=PParameter nowrap>$media</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'screen',</td></tr><tr><td></td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> ''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Does the actual work of generating the combined css code.</div></div><div class=CToolTip id="tt81"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function combine_js(</td><td class=PParameter nowrap>$files</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>array(),</td></tr><tr><td></td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Does the actual work of generating the combined js code.</div></div><div class=CToolTip id="tt82"><div class=CGeneric>With all of this being loaded, won&rsquo;t it affect performance?&nbsp; </div></div><div class=CToolTip id="tt83"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $config</td></tr></table></blockquote>Holds the config settings from config/email.php</div></div><div class=CToolTip id="tt84"><div class=CFile>Functions to aid in reading and saving config items to and from configuration files.</div></div><div class=CToolTip id="tt85"><div class=CClass>Provides several additional logging features designed to work with the Forensics Profiler.</div></div><div class=CToolTip id="tt86"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function context_nav(</td><td class=PParameter nowrap>$mode</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'icon'</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Builds the navigation used in the admin theme for the main contexts list.</div></div><div class=CToolTip id="tt87"><div class=CGeneric>In Bonfire, there are 6 distinct contexts that help to separate the logic of your modules&rsquo; controllers into tight compartments. </div></div><div class=CToolTip id="tt88"><div class=CGeneric>In your module, contexts are represented by their own controller. </div></div><div class=CToolTip id="tt89"><div class=CSection>Contexts make organizing your code and your admin UI a simple, consistent affair.</div></div><div class=CToolTip id="tt90"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function count_all()</td></tr></table></blockquote>Returns the number of rows in the table.</div></div><div class=CToolTip id="tt91"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function count_all(</td><td class=PParameter nowrap>$get_deleted</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> false</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Counts all users in the system.</div></div><div class=CToolTip id="tt92"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function count_by(</td><td class=PParameter nowrap>$field</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$value</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>NULL</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the number of elements that match the field/value pair.</div></div><div class=CToolTip id="tt93"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function count_by_roles()</td></tr></table></blockquote>Returns the number of users that belong to each role.</div></div><div class=CToolTip id="tt94"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>if (</td><td class=PParameter nowrap>!function_exists('country_select')</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a country-based dropdown form input based on the entries in the address.countries config.</div></div><div class=CToolTip id="tt95"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function create()</td></tr></table></blockquote>Displays the create a module form.</div></div><div class=CToolTip id="tt96"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function create(</td><td class=PParameter nowrap>$role_id,</td></tr><tr><td></td><td class=PParameter nowrap>$permission_id</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a new role permission entry</div></div><div class=CToolTip id="tt97"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>private function create_autologin(</td><td class=PParameter nowrap>$user_id</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>0,</td></tr><tr><td></td><td class=PParameter nowrap>$old_token</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create the auto-login entry in the database. </div></div><div class=CToolTip id="tt98"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function create_role_permissions(</td><td class=PParameter nowrap>$role_id,</td></tr><tr><td></td><td class=PParameter nowrap>$permission_id</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a new role permission entry</div></div><div class=CToolTip id="tt99"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>protected $created_field</td></tr></table></blockquote>Field name to use to the created time column in the DB table.</div></div><div class=CToolTip id="tt100"><div class=CGeneric><b>File Name</b></div></div><div class=CToolTip id="tt101"><div class=CGeneric>Tests are stored with each module, under a &lsquo;tests&rsquo; folder. </div></div><div class=CToolTip id="tt102"><div class=CGeneric>New Roles can be created by navigating to Settings / Roles and clicking the &lsquo;Create new role&rsquo; button. </div></div><div class=CToolTip id="tt103"><div class=CGeneric>New permissions can easily be created through the Admin UI by navigating to Settings / Permissions. </div></div><div class=CToolTip id="tt104"><div class=CGeneric>Once you have created the class file, creating individual tests is as simple as creating a new method in that class that starts with <b>test_</b> and contains one of the assertions (see below).</div></div><div class=CToolTip id="tt105"><div class=CGeneric>You can create and use events within your own modules, and they have the same priority and functionality as the System Events. </div></div><div class=CToolTip id="tt106"><div class=CSection>Bonfire would never exist without the hard work and tireless effort to create a high-quality product that EllisLab and the Reactor team have put into CodeIgniter.</div></div><div class=CToolTip id="tt107"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function css(</td><td class=PParameter nowrap>$style</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$media</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'screen',</td></tr><tr><td></td><td class=PParameter nowrap>$bypass_inheritance</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>false</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Renders links to stylesheets, with the $asset_url prepended. </div></div><div class=CToolTip id="tt108"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private function cURL_check()</td></tr></table></blockquote>Verifies that cURL is enabled as a PHP extension. </div></div><div class=CToolTip id="tt109"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $curl_error</td></tr></table></blockquote>Boolean check if cURL is enabled in PHP</div></div><div class=CToolTip id="tt110"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $curl_update</td></tr></table></blockquote>Boolean that says whether we should check for updates.</div></div><div class=CToolTip id="tt111"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>protected static $current_view</td></tr></table></blockquote>The view to load. </div></div><div class=CToolTip id="tt112"><div class=CGeneric>You can create any number of contexts to fit your application&rsquo;s specific needs. </div></div><!--END_ND_TOOLTIPS-->

</div><!--Index-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>Bonfire<div class=MSubTitle>Faster CodeIgniter Development</div></div><div class=MEntry><div class=MFile><a href="../files2/welcome-txt.html">Welcome to Bonfire</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Basic Info</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../files2/basic_info/requirements-txt.html">Server Requirements</a></div></div><div class=MEntry><div class=MFile><a href="../files2/basic_info/license-txt.html">License Agreement</a></div></div><div class=MEntry><div class=MFile><a href="../files2/basic_info/changelog-txt.html">Changelog</a></div></div><div class=MEntry><div class=MFile><a href="../files2/basic_info/credits-txt.html">Credits</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Installation</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../files2/installation/installing-txt.html">Fresh Installation</a></div></div><div class=MEntry><div class=MFile><a href="../files2/installation/troubleshooting-txt.html">Troubleshooting Guide</a></div></div><div class=MEntry><div class=MFile><a href="../files2/installation/upgrading-txt.html">Upgrading</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Introduction</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../files2/introduction/getting_started-txt.html">Getting Started</a></div></div><div class=MEntry><div class=MFile><a href="../files2/introduction/overview-txt.html">Bonfire Overview</a></div></div><div class=MEntry><div class=MFile><a href="../files2/introduction/concepts-txt.html">Important Concepts</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">General Topics</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../files2/general_topics/ajax-txt.html">AJAX in Bonfire</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/controllers-txt.html">Base Controllers</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/contexts-txt.html">Contexts Overview</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/module_overview-txt.html">Modules Overview</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/application_folder-txt.html">Moving the Application Folder</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/site_areas-txt.html">Site Areas</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/event_hooks-txt.html">System Events</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/auth_notes-txt.html">Understanding Authentication</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/unit_testing-txt.html">Unit Testing</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Core Modules</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../files2/core_modules/activities-txt.html">Activities</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/database-txt.html">Database</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/emailer-txt.html">Emailer</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/logs-txt.html">Logs</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/migrations-txt.html">Migrations</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/permissions-txt.html">Permissions</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/roles-txt.html">Roles</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/tester-txt.html">Tester</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/ui-txt.html">UI</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Designers</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile><a href="../files2/designers/introduction-txt.html">Designer Introduction</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/views-txt.html">Views and Layouts</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/blocks-txt.html">Blocks</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/data-txt.html">Dynamic Data</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/flash-txt.html">Flash Messages</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/ajax-txt.html">Handling AJAX</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/utilities-txt.html">Template Utility Functions</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Tutorials</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MFile><a href="../files3/todo-txt.html">ToDo Module</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent15')">Class Reference</a><div class=MGroupContent id=MGroupContent15><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Core Overrides</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="../files/core/MY_Model-php.html">BF_Model</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/MY_Controller-php.html">Controllers</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Models</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MFile><a href="../files/core_modules/roles/models/role_model-php.html">Role_model</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/roles/models/role_permission_model-php.html">Role_permission_model</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/permissions/models/permission_model-php.html">Permission_model</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Helpers</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="../files/helpers/address_helper-php.html">Address Helper</a></div></div><div class=MEntry><div class=MFile><a href="../files/helpers/application_helper-php.html">Application Helper</a></div></div><div class=MEntry><div class=MFile><a href="../files/helpers/MY_array_helper-php.html">Array Helper</a></div></div><div class=MEntry><div class=MFile><a href="../files/helpers/config_file_helper-php.html">Config File Helper</a></div></div><div class=MEntry><div class=MFile><a href="../files/helpers/MY_date_helper-php.html">MY_date_helper</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">Libraries</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="../files/libraries/assets-php.html">Assets</a></div></div><div class=MEntry><div class=MFile><a href="../files/libraries/Console-php.html">Console</a></div></div><div class=MEntry><div class=MFile><a href="../files/libraries/events-php.html">Events Class</a></div></div><div class=MEntry><div class=MFile><a href="../files/libraries/template-php.html">Template</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent14')">Core Modules</a><div class=MGroupContent id=MGroupContent14><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/models/activity_model-php.html">Activities</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Emailer</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MFile><a href="../files/core_modules/emailer/libraries/emailer-php.html">Emailer Library</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/emailer/controllers/settings-php.html">Emailer Settings Context</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/install/controllers/install-php.html">Install</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/logs/controllers/developer-php.html">Logs Developer Context</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/migrations/libraries/Migrations-php.html">Migrations</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent13')">Users</a><div class=MGroupContent id=MGroupContent13><div class=MEntry><div class=MFile><a href="../files/core_modules/users/libraries/auth-php.html">Auth Library</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/users/controllers/users-php.html">Users Controller</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/users/models/user_model-php.html">User Model</a></div></div></div></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent17')">Bonfire</a><div class=MGroupContent id=MGroupContent17><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent16')">Activities</a><div class=MGroupContent id=MGroupContent16><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/controllers/activities-php.html">Activities</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/controllers/reports-php.html">Activities Reports Context</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/assets/js/jquery-dataTables-min-js.html">jquery.<wbr>dataTables.<wbr>min.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/views/reports/datatable_js-php.html">views/<wbr>reports/<wbr>datatable_js.php</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/modulebuilder/views/files/controller-php.html">modulebuilder/.../files/<wbr>controller.php</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/modulebuilder/controllers/developer-php.html">modulebuilder/<wbr>controllers/<wbr>developer.php</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/roles/controllers/settings-php.html">roles/<wbr>controllers/<wbr>settings.php</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/subnav/controllers/subnav-php.html">subnav/<wbr>controllers/<wbr>subnav.php</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent18')">Index</a><div class=MGroupContent id=MGroupContent18><div class=MEntry><div class=MIndex id=MSelected>Everything</div></div><div class=MEntry><div class=MIndex><a href="Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="Files.html">Files</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([18], 19);// --></script></div><!--Menu-->


<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>